package com.woniuxy.yoga.coach.model.exception;

import com.woniuxy.yoga.commons.core.exception.YogaException;

public class CoachException extends YogaException {

    public CoachException(Integer code, String message) {
        super(code, message);
    }

    public CoachException(CoachExceptionCode coachExceptionCode) {
        super(coachExceptionCode.getCode(), coachExceptionCode.getMessage());
    }
}
